<!DOCTYPE HTML>
<html>
<head>
    <title>FlowerTown GM工具</title>
    <link href="{$PROTOCOL}//{$WEB_HOST}/{$WWW_RELATIVE_PATH}/css/bootstrap/styles/bootstrap.min.css?v={$CSS_VER}" type="text/css" rel="stylesheet">
    <link href="{$PROTOCOL}//{$WEB_HOST}/{$WWW_RELATIVE_PATH}/css/main.css?v={$CSS_VER}" type="text/css" rel="stylesheet">
    <script type="text/javascript">
        var SZ = {
            "IS_COMPRESS": {if isset($IS_COMPRESS) && $IS_COMPRESS}true{else}false{/if},
            "WEB_HOST": "{$WEB_HOST}",
            "CDN_HOST": "{$WEB_HOST}",
            "IMG_URL": "{$PROTOCOL}//{$WEB_HOST}/{$WWW_RELATIVE_PATH}/img/",
            "JS_URL": "{$PROTOCOL}//{$WEB_HOST}/{$WWW_RELATIVE_PATH}/js/",
            "VIEW_URL": "{$PROTOCOL}//{$WEB_HOST}/{$WWW_RELATIVE_PATH}/view/",
            "REQUEST_URL": "{$PROTOCOL}//{$WEB_HOST}/{$WWW_RELATIVE_PATH}/index.php",
            "CANVAS_URL": "{$CANVAS_URL}",
            "PROTOCOL": "{$PROTOCOL}"
        };
    </script>
</head>
<body>

<div class="navbar navbar-inverse navbar-fixed-top" ng-controller="Fs2NavCtrl">
    <div class="container">
        <div class="navbar-header">
            <a class="navbar-brand" href="#/privilege">FlowerTown</a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li ng-class="{literal}{active: segment.startsWith('privilege')}{/literal}"><a href="#/privilege">权限系统</a></li>
            </ul>
            <ul class="nav navbar-nav">
                <li ng-class="{literal}{active: segment.startsWith('data')}{/literal}"><a href="#/data">数据调整</a></li>
            </ul>
            <ul class="nav navbar-nav">
                <li ng-class="{literal}{active: segment.startsWith('api')}{/literal}"><a href="#/api">API工具</a></li>
            </ul>
            <ul class="nav navbar-nav">
                <li ng-class="{literal}{active: segment.startsWith('admin')}{/literal}"><a href="#/admin">管理工具</a></li>
            </ul>
            <ul class="nav navbar-nav">
                <li ng-class="{literal}{active: segment.startsWith('game')}{/literal}"><a href="#/game">游戏工具</a></li>
            </ul>
            <ul class="nav navbar-nav hide" id="logout-button">
                <li ng-class="{literal}{active: segment.startsWith('logout')}{/literal}"><a href="#/logout">退出系统</a></li>
            </ul>
        </div>
    </div>
</div>

<div  class="container">
    <div id="login-state"></div>
</div>

<div id="system" class="container"
    <div class="row" app-view-segment="0">
    </div>
</div>

<!-- footer scripts -->
<script
        data-main="{$PROTOCOL}//{$CDN_HOST}/{$WWW_RELATIVE_PATH}/js/boot.gm"
        src="{$PROTOCOL}//{$CDN_HOST}/{$WWW_RELATIVE_PATH}/js/requirejs/require.min.js?v={$JS_VER}">
</script>
</body>
</html>
